const {merge} = require('webpack-merge')
const common = require('./webpack.common')

module.exports = merge(common, {
  module: {
    rules: [{
      test: /\.js?$/,
      // loader: 'babel-loader'
      use: ['babel-loader', 'eslint-loader']
    }]
  }
})
